﻿<%@ Page Language="C#" MasterPageFile="~/HouseKeep/ManageMaster.master" AutoEventWireup="true"
    CodeFile="ManageApplyAll.aspx.cs" Inherits="HouseKeep_ManageApplyAll" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="95%">
        <tr>
            <td align="right" height="41">
            </td>
        </tr>
    </table>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="95%">
        <tr>
            <td align="center" height="33" width="3%">
                <img height="9" src="../Images/Main_14.jpg" width="5" /></td>
            <td class="lanse" width="97%">
                按月份栓选<asp:DropDownList ID="ddlyear" runat="server">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlmonth" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                <asp:Button ID="btnsearch" runat="server" OnClick="btnsearch_Click" Text="查看" /></td>
        </tr>
    </table>
    <table align="center" border="0" cellpadding="0" cellspacing="1" width="95%">
        <tr>
            <td style="height: 234px" valign="top">
                <asp:GridView ID="gvstreetshow" runat="server" AutoGenerateColumns="False" CssClass="GridViewStyle"
                    EmptyDataText="暂时没有待审核信息" Width="100%">
                    <Columns>
                        <asp:TemplateField HeaderText="编号">
                            <ItemTemplate>
                                <%#String.IsNullOrEmpty(Eval("apply_longid").ToString()) ? Eval("apply_noid") : Eval("apply_longid")%>
                            </ItemTemplate>
                            <ItemStyle Width="20%" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="详情">
                            <ItemTemplate>
                                申请人：<%#(Eval("apply_name"))%>
                                申请时间：<%#Convert.ToDateTime(Eval("apply_time")).ToString("yyyy年MM月dd日")%>
                                <br />
                                地址:<%#Eval("apply_address") %>
                            </ItemTemplate>
                            <ItemStyle Width="40%" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:HyperLink ID="hlkedit" runat="server" NavigateUrl='<%#"../StreetCenter/AddApply.aspx?thetype=edit&applyid="+Eval("apply_id") %>'
                                    Target="_blank">校对</asp:HyperLink>
                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%#"../StreetCenter/AddApply.aspx?thetype=change&applyid="+Eval("apply_id")+"&effectdate="+Eval("effectdate") %>'
                                    Target="_blank">调整</asp:HyperLink>
                            </ItemTemplate>
                            <ItemStyle Width="40%" />
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle CssClass="FooterStyle" />
                    <RowStyle CssClass="RowStyle" />
                    <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                    <PagerStyle CssClass="PagerStyle" />
                    <SelectedRowStyle CssClass="SelectedRowStyle" />
                    <HeaderStyle CssClass="HeaderStyle" />
                    <EditRowStyle CssClass="EditRowStyle" />
                    <AlternatingRowStyle CssClass="AltRowStyle" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
